Skip to content

StrongIdIterator Operator Overloading #2461

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Dec 2, 2023
Merged

StrongIdIterator Operator Overloading #2461

merged 5 commits into from
Dec 2, 2023

Conversation

amin1377
Copy link
Contributor

@amin1377 amin1377 commented Dec 1, 2023

In this PR, the operators that don't use private methods are moved outside of StrongIdIterator class. The "friend" identifier of other operators inside of the class is removed to avoid redefinition of them when an operator is used.

Copy link
Contributor

@vaughnbetz vaughnbetz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few const to add.
Thanks for fixing!

Copy link
Contributor

@vaughnbetz vaughnbetz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few const to add.
Thanks for fixing!

@amin1377
Copy link
Contributor Author

amin1377 commented Dec 2, 2023

@vaughnbetz This PR is ready to merge

@vaughnbetz vaughnbetz merged commit 3c61f36 into master Dec 2, 2023
@vaughnbetz vaughnbetz deleted the id_range_operator branch December 2, 2023 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants